<template>
	<view class="content">
		<u-tabbar :show="is_show" v-model="current" :list="list" :mid-button="false" active-color="#26a6ff" inactive-color="#707070"></u-tabbar>
	</view>
</template>

<script>
	export default {
		props:['is_tabbar'],
		data() {
			return {
				list: [{
						iconPath: "/static/tab_ico/index.png",
						selectedIconPath: "/static/tab_ico/index_act.png",
						text: '首页',
						count: 0,
						isDot: true,
						customIcon: false,
						pagePath:'/pages/index/index'
					},
					{
						iconPath: "/static/tab_ico/code.png",
						selectedIconPath: "/static/tab_ico/code_act.png",
						text: '简历码',
						count: 0,
						isDot: false,
						customIcon: false,
						pagePath:'/pages/code/index'
					},
					{
						iconPath: "/static/tab_ico/center.png",
						selectedIconPath: "/static/tab_ico/center_act.png",
						text: '我的',
						count: 0,
						isDot: true,
						customIcon: false,
						pagePath:'/pages/center/index'
					}
				],
				current: 0,
				is_show:true
			}
		},
		mounted() {
			if(this.is_tabbar && this.is_tabbar == 1){
				this.is_show = false
			}
		},
		methods: {
			
		}
	}
</script>

<style lang="scss">
	.content {
		
	}

</style>
